difftreelog
ci enable experimental features on test refs
in: master
1 file changed
.github/workflows/release.ymldiffbeforeafterboth106 - name: Checkout106 - name: Checkout107 uses: actions/checkout@v2107 uses: actions/checkout@v2108109 - name: Add experimental flags110 if: ${{ endsWith(github.ref, '-test' )}}111 run: echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV108112109 - name: Linux x86 cross compiler113 - name: Linux x86 cross compiler110 if: ${{ matrix.target == 'i686-unknown-linux-gnu' }}114 if: ${{ matrix.target == 'i686-unknown-linux-gnu' }}128 - name: Run ARM build132 - name: Run ARM build129 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}133 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}130 shell: bash134 shell: bash131 run: cross build --bin=jrsonnet --release --target ${{ matrix.target }}135 run: cross build --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}132136133 - name: Run ARM strip137 - name: Run ARM strip134 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}138 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}140 uses: actions-rs/cargo@v1144 uses: actions-rs/cargo@v1141 with:145 with:142 command: build146 command: build143 args: --bin=jrsonnet --release --target ${{ matrix.target }}147 args: --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}144148145 - name: Run strip149 - name: Run strip146 if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}150 if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}