mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make/test: clean 32-bit detection and test tcc32/tcc64 CI run (#9001)
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -753,6 +753,9 @@ jobs:
|
||||
run: |
|
||||
.\v.exe cmd/tools/test_if_v_test_system_works.v
|
||||
.\cmd\tools\test_if_v_test_system_works.exe
|
||||
- name: Make sure running TCC64 instead of TCC32
|
||||
run : |
|
||||
.\v.exe test .github\workflows\make_sure_ci_run_with_64bit_compiler_test.v
|
||||
- name: Self tests
|
||||
run: |
|
||||
.\v.exe -silent test-self
|
||||
@@ -795,6 +798,9 @@ jobs:
|
||||
run: |
|
||||
.\v.exe cmd/tools/test_if_v_test_system_works.v
|
||||
.\cmd\tools\test_if_v_test_system_works.exe
|
||||
- name: Make sure running TCC32 instead of TCC64
|
||||
run : |
|
||||
.\v.exe test .github\workflows\make_sure_ci_run_with_32bit_compiler_test.v
|
||||
- name: Self tests
|
||||
run: |
|
||||
.\v.exe -silent test-self
|
||||
|
||||
5
.github/workflows/make_sure_ci_run_with_32bit_compiler_test.v
vendored
Normal file
5
.github/workflows/make_sure_ci_run_with_32bit_compiler_test.v
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
fn test_ci_run_with_32bit_compiler() {
|
||||
$if x64 {
|
||||
assert false
|
||||
}
|
||||
}
|
||||
5
.github/workflows/make_sure_ci_run_with_64bit_compiler_test.v
vendored
Normal file
5
.github/workflows/make_sure_ci_run_with_64bit_compiler_test.v
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
fn test_ci_run_with_64bit_compiler() {
|
||||
$if x32 {
|
||||
assert false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user