git.delta.rocks / jrsonnet / refs/commits / cf77cb3f739d

difftreelog

ci enable experimental features on test refs

Yaroslav Bolyukin2022-04-23parent: #fecf39e.patch.diff
in: master

1 file changed

modified.github/workflows/release.ymldiffbeforeafterboth
106 - name: Checkout106 - name: Checkout
107 uses: actions/checkout@v2107 uses: actions/checkout@v2
108
109 - name: Add experimental flags
110 if: ${{ endsWith(github.ref, '-test' )}}
111 run: echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV
108112
109 - name: Linux x86 cross compiler113 - name: Linux x86 cross compiler
110 if: ${{ matrix.target == 'i686-unknown-linux-gnu' }}114 if: ${{ matrix.target == 'i686-unknown-linux-gnu' }}
128 - name: Run ARM build132 - name: Run ARM build
129 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}133 if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
130 shell: bash134 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
133 - name: Run ARM strip137 - name: Run ARM strip
134 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@v1
141 with:145 with:
142 command: build146 command: build
143 args: --bin=jrsonnet --release --target ${{ matrix.target }}147 args: --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
144148
145 - name: Run strip149 - name: Run strip
146 if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}150 if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}