File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, workflow_dispatch]
3
+ jobs :
4
+ test :
5
+ runs-on : ubuntu-latest
6
+ strategy :
7
+ matrix :
8
+ os :
9
+ - name : freebsd
10
+ architecture : x86-64
11
+ version : ' 14.3'
12
+ - name : haiku
13
+ architecture : x86-64
14
+ version : ' r1beta5'
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Test on ${{ matrix.os.name }}
18
+ uses : cross-platform-actions/action@v0.29.0
19
+ with :
20
+ operating_system : ${{ matrix.os.name }}
21
+ architecture : ${{ matrix.os.architecture }}
22
+ version : ${{ matrix.os.version }}
23
+ shell : bash
24
+ memory : 5G
25
+ cpu_count : 4
26
+ run : |
27
+ uname -a
28
+ if [[ "${{ matrix.os.name }}" == "haiku" ]]; then pkgman install -y rust_bin; fi;
29
+ if [[ "${{ matrix.os.name }}" == "freebsd" ]]; then export IGNORE_OSVERSION=yes && sudo pkg install -y rust; fi;
30
+ sleep 5
31
+ echo "Starting build..."
32
+ cargo build
33
+ echo "Starting tests..."
34
+ cargo test
You can’t perform that action at this time.
0 commit comments