Skip to content

Commit

Permalink
Initial swing
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Oct 2, 2024
0 parents commit f011e69
Show file tree
Hide file tree
Showing 14 changed files with 1,521 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-and-push-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: test suite
on: [ push, pull_request ]

jobs:
build:
name: build-container
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- debug
- release
steps:
- uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v27
- name: setup nix cache
id: nix-package-cache
uses: actions/cache@v4
with:
path: ~/work/nix-store
key: nix-package-chache-${{ runner.os }}-${{ hashFiles('./nix/versions.nix') }}
- name: install just
uses: extractions/setup-just@v2
- name: login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build ${{ matrix.profile }} container
run: just build-container ${{ matrix.profile }}
- name: push ${{ matrix.profile }} container
run: just push-container ${{ matrix.profile }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target
/.idea
/sysroot
Loading

0 comments on commit f011e69

Please sign in to comment.