File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 44
44
matrix :
45
45
include :
46
46
- target : x86_64-unknown-linux-gnu
47
+ - target : aarch64-unknown-linux-gnu
48
+ cross : true
47
49
48
50
runs-on : ubuntu-latest
49
51
steps :
52
54
with :
53
55
targets : ${{ matrix.target }}
54
56
cache-target : ${{ matrix.target }}/release
57
+ bins : cross
55
58
56
- # TODO: Reenable when we have a way to build for other targets
57
- # - name: Setup environment for target
58
- # if: ${{ matrix.setup }}
59
- # run: ${{ matrix.setup }}
60
-
61
- - run : cargo build --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
59
+ - run : ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
62
60
63
61
- name : Upload Release Asset
64
62
id : upload-release-asset
You can’t perform that action at this time.
0 commit comments