Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed Aug 20, 2024
0 parents commit f7a1f4e
Show file tree
Hide file tree
Showing 17 changed files with 4,446 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: check
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14]
steps:
- uses: actions/checkout@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@master
with:
name: cspr
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: System Info
run: |
uname -a
nix --version
- name: cctl-rs (x86_64-darwin)
if: matrix.os == 'macos-latest'
run: nix build -L --no-link --show-trace .#packages.x86_64-darwin.cctld

- name: cctl-rs (aarch64-darwin)
if: matrix.os == 'macos-14'
run: nix build -L --no-link --show-trace .#packages.aarch64-darwin.cctld
11 changes: 11 additions & 0 deletions .github/workflows/pre-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: pre-check
on:
pull_request:
branches: [main]

jobs:
check-signed-commits:
runs-on: ubuntu-latest
steps:
- name: check signed commits
uses: 1Password/check-signed-commits-action@v1
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
result
.direnv
.envrc
target
.tmp
.nixos-test-history
Loading

0 comments on commit f7a1f4e

Please sign in to comment.