File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ jobs:
106106 - name : Checkout
107107 uses : actions/checkout@v2
108108
109+ - name : Add experimental flags
110+ if : ${{ endsWith(github.ref, '-test' )}}
111+ run : echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV
112+
109113 - name : Linux x86 cross compiler
110114 if : ${{ matrix.target == 'i686-unknown-linux-gnu' }}
111115 run : sudo apt install gcc-multilib
@@ -128,7 +132,7 @@ jobs:
128132 - name : Run ARM build
129133 if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
130134 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 }}
132136
133137 - name : Run ARM strip
134138 if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
@@ -140,7 +144,7 @@ jobs:
140144 uses : actions-rs/cargo@v1
141145 with :
142146 command : build
143- args : --bin=jrsonnet --release --target ${{ matrix.target }}
147+ args : --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
144148
145149 - name : Run strip
146150 if : ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}
You can’t perform that action at this time.
0 commit comments