mirror of
https://github.com/QB64Official/qb64.git
synced 2024-05-03 20:50:13 +00:00
create build.sh to handle pull_request.yml
This commit is contained in:
parent
f2665af6fc
commit
1a3939679c
13
.ci/build.sh
Normal file
13
.ci/build.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo From git `echo $GITHUB_SHA | sed 's/\(.......\).*$/\1/'` > internal/version.txt
|
||||
./qb64_bootstrap -x -w source/qb64.bas
|
||||
SUCCESS=$?
|
||||
rm qb64_bootstrap
|
||||
rm internal/temp/*
|
||||
# rm internal/source/*
|
||||
# mv internal/temp/* internal/source/
|
||||
# rm internal/source/debug_* internal/source/recompile_*
|
||||
# find . -type f -iname "*.a" -exec rm {} \;
|
||||
# find . -type f -iname "*.o" -exec rm {} \;
|
||||
exit $SUCCESS
|
4
.github/workflows/pull_request.yml
vendored
4
.github/workflows/pull_request.yml
vendored
|
@ -14,5 +14,5 @@ jobs:
|
|||
run: sudo apt update && sudo apt install libglu1-mesa-dev libncurses-dev
|
||||
- name: Bootstrap compiler
|
||||
run: .ci/bootstrap.sh lnx
|
||||
- name: Compile
|
||||
run: .ci/compile.sh
|
||||
- name: Build
|
||||
run: .ci/build.sh
|
||||
|
|
Loading…
Reference in a new issue