mirror of https://github.com/flysand7/ciabatta.git
change CI scripts in accordance with build script
This commit is contained in:
parent
e1b7a84ba6
commit
bbea5423f6
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
3
build.py
3
build.py
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue