File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ jobs:
106
106
- name : Checkout
107
107
uses : actions/checkout@v2
108
108
109
+ - name : Add experimental flags
110
+ if : ${{ endsWith(github.ref, '-test' )}}
111
+ run : echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV
112
+
109
113
- name : Linux x86 cross compiler
110
114
if : ${{ matrix.target == 'i686-unknown-linux-gnu' }}
111
115
run : sudo apt install gcc-multilib
@@ -128,7 +132,7 @@ jobs:
128
132
- name : Run ARM build
129
133
if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
130
134
shell : bash
131
- run : cross build --bin=jrsonnet --release --target ${{ matrix.target }}
135
+ run : cross build --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
132
136
133
137
- name : Run ARM strip
134
138
if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
@@ -140,7 +144,7 @@ jobs:
140
144
uses : actions-rs/cargo@v1
141
145
with :
142
146
command : build
143
- args : --bin=jrsonnet --release --target ${{ matrix.target }}
147
+ args : --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
144
148
145
149
- name : Run strip
146
150
if : ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}
You can’t perform that action at this time.
0 commit comments