Skip to content

Commit

Permalink
workflows: Init build
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Mar 17, 2021
1 parent d138fb8 commit d9d9add
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/build_pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Build d-SEAMS"
on:
pull_request:
push:
jobs:
build_pkg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v8
with:
name: dseams
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build
- run: nix-shell --run 'scripts/builder.sh' --pure
- run: |
cd shellBuild
./yodaStruct_test
- run: nix-shell --run "echo OK"
3 changes: 2 additions & 1 deletion scripts/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ if [[ "$PWD" =~ seams-core ]]; then
cp yodaStruct ../
cp libyodaLib.so ../
cd ../
gdb --args yodaStruct -c lua_inputs/config.yml
# gdb --args yodaStruct -c lua_inputs/config.yml
yodaStruct -c lua_inputs/config.yml
fi

0 comments on commit d9d9add

Please sign in to comment.