Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-ares committed Apr 18, 2023
1 parent dd6758d commit 2c108b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/make_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
runs-on: [self-hosted, Linux, X64]
defaults:
run:
shell: nix-shell --pure --keep MACHINE --keep EXTRAS --run "bash --noprofile --norc -eo pipefail {0}"
shell: bash --noprofile --norc -eo pipefail -c "set -ex; source /home/runner/firedancer-opts/activate-opt && echo `pwd` && ls -lah {0} && chmod +x {0} && {0}"

env:
MACHINE: linux_${{ matrix.compiler }}_x86_64
EXTRAS: libbpf
steps:
- uses: actions/checkout@v3

- name: Copy prebuilt deps
run: "cp -r /home/runner/firedancer-opts/opt . && ls -lah opt"

- name: Build everything
run: make -j
5 changes: 4 additions & 1 deletion .github/workflows/make_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ jobs:
runs-on: [self-hosted, Linux, X64]
defaults:
run:
shell: nix-shell --pure --keep MACHINE --keep EXTRAS --run "bash --noprofile --norc -eo pipefail {0}"
shell: bash --noprofile --norc -eo pipefail -c "set -ex; source /home/runner/firedancer-opts/activate-opt && chmod +x {0} && {0}"
env:
MACHINE: linux_clang_x86_64
EXTRAS: libbpf llvm-cov
steps:
- uses: actions/checkout@v3

- name: Copy prebuilt deps
run: "cp -r /home/runner/firedancer-opts/opt . && ls -lah opt"

- name: Build everything
run: make -j

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/make_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ jobs:
runs-on: [self-hosted, Linux, X64]
defaults:
run:
shell: nix-shell --pure --keep MACHINE --keep EXTRAS --run "bash --noprofile --norc -eo pipefail {0}"
shell: bash --noprofile --norc -eo pipefail -c "set -ex; source /home/runner/firedancer-opts/activate-opt && chmod +x {0} && {0}"
env:
EXTRAS: libbpf
steps:
- uses: actions/checkout@v3

- name: Copy prebuilt deps
run: "cp -r /home/runner/firedancer-opts/opt . && ls -lah opt"

- name: Build everything
run: make -j

Expand Down

0 comments on commit 2c108b2

Please sign in to comment.