mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-19 14:47:49 -04:00
ci: compile with master
's goalc
, but with the PR's changes (#3631)
Some checks failed
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Build / 🍎 MacOS (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
Lint / 📝 Optional Checks (push) Has been cancelled
Some checks failed
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Build / 🍎 MacOS (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
Lint / 📝 Optional Checks (push) Has been cancelled
Mistake lead to CI failures for PRs that modified goal_src (of course the files are different than master!)
This commit is contained in:
parent
879f8cb5a2
commit
a7d1336899
20
.github/workflows/compiler-output-check.yaml
vendored
20
.github/workflows/compiler-output-check.yaml
vendored
|
@ -43,16 +43,9 @@ jobs:
|
||||||
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
||||||
|
|
||||||
- name: Build goalc (master)
|
- name: Build goalc (master)
|
||||||
run: cmake --build build --parallel $((`nproc`)) --target goalc
|
|
||||||
|
|
||||||
- name: Compile and preserve (master)
|
|
||||||
run: |
|
run: |
|
||||||
./build/goalc/goalc --game jak1 --cmd "(make-group \"all-code\")"
|
cmake --build build --parallel $((`nproc`)) --target goalc
|
||||||
./build/goalc/goalc --game jak2 --cmd "(make-group \"all-code\")"
|
mv ./build ./build.master
|
||||||
./build/goalc/goalc --game jak3 --cmd "(make-group \"all-code\")"
|
|
||||||
mv ./out/jak1/obj ./out/jak1/obj.master
|
|
||||||
mv ./out/jak2/obj ./out/jak2/obj.master
|
|
||||||
mv ./out/jak3/obj ./out/jak3/obj.master
|
|
||||||
|
|
||||||
- name: Checkout PR
|
- name: Checkout PR
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -71,6 +64,15 @@ jobs:
|
||||||
- name: Build goalc (PR)
|
- name: Build goalc (PR)
|
||||||
run: cmake --build build --parallel $((`nproc`)) --target goalc
|
run: cmake --build build --parallel $((`nproc`)) --target goalc
|
||||||
|
|
||||||
|
- name: Compile and preserve (master)
|
||||||
|
run: |
|
||||||
|
./build.master/goalc/goalc --game jak1 --cmd "(make-group \"all-code\")"
|
||||||
|
./build.master/goalc/goalc --game jak2 --cmd "(make-group \"all-code\")"
|
||||||
|
./build.master/goalc/goalc --game jak3 --cmd "(make-group \"all-code\")"
|
||||||
|
mv ./out/jak1/obj ./out/jak1/obj.master
|
||||||
|
mv ./out/jak2/obj ./out/jak2/obj.master
|
||||||
|
mv ./out/jak3/obj ./out/jak3/obj.master
|
||||||
|
|
||||||
- name: Compile and preserve (PR)
|
- name: Compile and preserve (PR)
|
||||||
run: |
|
run: |
|
||||||
./build/goalc/goalc --game jak1 --cmd "(make-group \"all-code\")"
|
./build/goalc/goalc --game jak1 --cmd "(make-group \"all-code\")"
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,7 +9,8 @@ prof.json
|
||||||
cmake-build-debug/*
|
cmake-build-debug/*
|
||||||
cmake-build-debug--o0/*
|
cmake-build-debug--o0/*
|
||||||
.idea/*
|
.idea/*
|
||||||
build/*
|
build/
|
||||||
|
build.master/
|
||||||
/decompiler_out*
|
/decompiler_out*
|
||||||
logs/*
|
logs/*
|
||||||
profile_data/*
|
profile_data/*
|
||||||
|
|
Loading…
Reference in a new issue