File tree 7 files changed +16
-30
lines changed
7 files changed +16
-30
lines changed Original file line number Diff line number Diff line change 66
66
- name : Build
67
67
run : |
68
68
./y.sh prepare --only-libcore
69
- # TODO: remove --features master when it is back to the default.
70
- ./y.sh build --features master
71
- # TODO: remove --features master when it is back to the default.
69
+ ./y.sh build
72
70
73
71
- name : Set env (part 2)
74
72
run : |
78
76
79
77
- name : Build (part 2)
80
78
run : |
81
- cargo test --features master
79
+ cargo test
82
80
./y.sh clean all
83
81
84
82
- name : Prepare dependencies
92
90
93
91
- name : Run tests
94
92
run : |
95
- # TODO: remove --features master when it is back to the default.
96
- ./y.sh test --features master --release --clean --build-sysroot ${{ matrix.commands }}
93
+ ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
97
94
98
95
duplicates :
99
96
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -21,14 +21,11 @@ jobs:
21
21
libgccjit_version :
22
22
- gcc : " libgccjit.so"
23
23
artifacts_branch : " master"
24
- # TODO: switch back to --no-default-features in the case of libgccjit 12 when the default is to enable
25
- # master again.
26
- extra : " --features master"
27
24
- gcc : " libgccjit_without_int128.so"
28
25
artifacts_branch : " master-without-128bit-integers"
29
- extra : " --features master"
30
26
- gcc : " libgccjit12.so"
31
27
artifacts_branch : " gcc12"
28
+ extra : " --no-default-features"
32
29
# FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
33
30
# Not sure why it's not found otherwise.
34
31
env_extra : " TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/"
Original file line number Diff line number Diff line change 91
91
- name : Build
92
92
run : |
93
93
./y.sh prepare --only-libcore --cross
94
- # TODO: remove --features master when it is back to the default.
95
- ./y.sh build --target-triple m68k-unknown-linux-gnu --features master
96
- # TODO: remove --features master when it is back to the default.
97
- CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test --features master
94
+ ./y.sh build --target-triple m68k-unknown-linux-gnu
95
+ CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test
98
96
./y.sh clean all
99
97
100
98
- name : Prepare dependencies
@@ -108,5 +106,4 @@ jobs:
108
106
109
107
- name : Run tests
110
108
run : |
111
- # TODO: remove --features master when it is back to the default.
112
- ./y.sh test --release --features master --clean --build-sysroot ${{ matrix.commands }}
109
+ ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
Original file line number Diff line number Diff line change 53
53
- name : Build
54
54
run : |
55
55
./y.sh prepare --only-libcore
56
- # TODO: remove --features master when it is back to the default.
57
- EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot --features master
58
- # TODO: remove --features master when it is back to the default.
59
- cargo test --features master
56
+ EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot
57
+ cargo test
60
58
./y.sh clean all
61
59
62
60
- name : Prepare dependencies
72
70
73
71
- name : Run tests
74
72
run : |
75
- # TODO: remove --features master when it is back to the default.
76
- EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }} --features master
73
+ EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }}
Original file line number Diff line number Diff line change 67
67
- name : Build
68
68
run : |
69
69
./y.sh prepare --only-libcore
70
- # TODO: remove `--features master` when it is back to the default.
71
- ./y.sh build --release --release-sysroot --features master
72
- # TODO: remove --features master when it is back to the default.
73
- cargo test --features master
70
+ ./y.sh build --release --release-sysroot
71
+ cargo test
74
72
75
73
- name : Clean
76
74
if : ${{ !matrix.cargo_runner }}
86
84
- name : Run tests
87
85
if : ${{ !matrix.cargo_runner }}
88
86
run : |
89
- # TODO: remove `--features master` when it is back to the default.
90
- ./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore --features master
87
+ ./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
91
88
92
89
- name : Run stdarch tests
93
90
if : ${{ !matrix.cargo_runner }}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ harness = false
19
19
20
20
[features ]
21
21
master = [" gccjit/master" ]
22
+ default = [" master" ]
22
23
23
24
[dependencies ]
24
25
gccjit = { git = " https://github.com/antoyo/gccjit.rs" }
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ Then you can run commands like this:
69
69
70
70
``` bash
71
71
$ ./y.sh prepare # download and patch sysroot src and install hyperfine for benchmarking
72
- $ ./y.sh build --release --features master
72
+ $ ./y.sh build --release
73
73
```
74
74
75
75
To run the tests:
76
76
77
77
``` bash
78
- $ ./y.sh test --release --features master
78
+ $ ./y.sh test --release
79
79
```
80
80
81
81
## Usage
You can’t perform that action at this time.
0 commit comments