change CI scripts in accordance with build script

This commit is contained in:
flysand7 2023-09-02 11:47:40 +11:00
parent e1b7a84ba6
commit bbea5423f6
3 changed files with 7 additions and 2 deletions

View File

@ -38,4 +38,5 @@ jobs:
- name: Build - name: Build
working-directory: ${{env.GITHUB_WORKSPACE}} working-directory: ${{env.GITHUB_WORKSPACE}}
shell: bash shell: bash
run: ./build.py --mode release --target linux --test tests/hello.c run: ./build.py -m release -t tests/hello.c
run: ./a

View File

@ -38,4 +38,5 @@ jobs:
- name: Build - name: Build
working-directory: ${{env.GITHUB_WORKSPACE}} working-directory: ${{env.GITHUB_WORKSPACE}}
shell: bash shell: bash
run: ./build.py --mode release --target windows --test tests/hello.c run: ./build.py -m release -t tests/hello.c
run: ./a

View File

@ -110,6 +110,9 @@ if not os.path.exists('lib'):
if not os.path.exists('bin'): if not os.path.exists('bin'):
os.mkdir('bin') os.mkdir('bin')
if platform.system().lower() == 'windows':
sys.exit(1);
target_abi = 'sysv' target_abi = 'sysv'
target_arch = 'x86-64' target_arch = 'x86-64'
target_os = 'linux' target_os = 'linux'