Skip to content

Commit f011e69

Browse files
committed
Initial swing
0 parents  commit f011e69

14 files changed

+1521
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: test suite
2+
on: [ push, pull_request ]
3+
4+
jobs:
5+
build:
6+
name: build-container
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
profile:
11+
- debug
12+
- release
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: install nix
16+
uses: cachix/install-nix-action@v27
17+
- name: setup nix cache
18+
id: nix-package-cache
19+
uses: actions/cache@v4
20+
with:
21+
path: ~/work/nix-store
22+
key: nix-package-chache-${{ runner.os }}-${{ hashFiles('./nix/versions.nix') }}
23+
- name: install just
24+
uses: extractions/setup-just@v2
25+
- name: login to ghcr.io
26+
uses: docker/login-action@v3
27+
with:
28+
registry: ghcr.io
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
31+
- name: build ${{ matrix.profile }} container
32+
run: just build-container ${{ matrix.profile }}
33+
- name: push ${{ matrix.profile }} container
34+
run: just push-container ${{ matrix.profile }}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
/.idea
3+
/sysroot

0 commit comments

Comments
 (0)