Skip to content

Commit 9edba48

Browse files
committed
More CI tests
1 parent 270c549 commit 9edba48

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

.github/workflows/linux.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,24 @@ jobs:
5252
if: startsWith(matrix.compiler.cc, 'clang')
5353
run: sudo apt-get install -y ${{ matrix.compiler.cc }}
5454

55-
- name: Build Poac
55+
- name: First Generation Build
5656
run: make
5757

58-
- name: Self-build Poac
58+
- name: Second Generation Build
5959
run: ./build-out/poac build --verbose
6060

61-
- name: Test self-built binary
61+
- name: Test the second generation
6262
run: ./poac-out/debug/poac help
6363

64+
- name: Third Generation Build
65+
run: |
66+
mv ./poac-out/debug/poac ./
67+
rm -rf ./poac-out
68+
./poac build --verbose --release
69+
70+
- name: Test the third generation
71+
run: ./poac help
72+
6473
# - name: Test Poac
6574
# run: ctest --output-on-failure --verbose
6675
# working-directory: build

.github/workflows/macos.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,24 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27-
- name: Build Poac
27+
- name: First Generation Build
2828
run: make
2929

30-
- name: Self-build Poac
30+
- name: Second Generation Build
3131
run: ./build-out/poac build --verbose
3232

33-
- name: Test self-built binary
33+
- name: Test the second generation
3434
run: ./poac-out/debug/poac help
3535

36+
- name: Third Generation Build
37+
run: |
38+
mv ./poac-out/debug/poac ./
39+
rm -rf ./poac-out
40+
./poac build --verbose --release
41+
42+
- name: Test the third generation
43+
run: ./poac help
44+
3645
# - name: Test Poac
3746
# run: ctest --output-on-failure --verbose
3847
# working-directory: build

0 commit comments

Comments
 (0)