Skip to content

Commit

Permalink
try to use reusable workflows from current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsandler committed Jun 24, 2024
1 parent dd796f1 commit 048ca0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
uses: nlsandler/nqcc2/.github/workflows/build.yaml@main
uses: ./.github/workflows/build.yaml
with:
chapter: ${{ inputs.chapter }}
os: ${{ inputs.os }}
Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:
# use Rosetta on macOS since that's what most readers are doing
- name: Run the tests (Apple Silicon)
if: runner.arch == 'ARM64'
run: arch -x86_64 ./github/run-tests.sh
run: arch -x86_64 ./.github/run-tests.sh

- name: Run the tests (x86-64)
if: runner.arch != 'ARM64'
run: ./github/run-tests.sh
run: ./.github/run-tests.sh

2 changes: 1 addition & 1 deletion .github/workflows/test_each_chapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest]
chapter: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
uses: nlsandler/nqcc2/.github/workflows/build_and_test.yaml@main
uses: ./.github/workflows/build_and_test.yaml
with:
chapter: ${{ matrix.chapter }}
os: ${{ matrix.os }}

0 comments on commit 048ca0f

Please sign in to comment.