Skip to content

Commit ab02213

Browse files
authored
Update actions.yaml
1 parent ba18324 commit ab02213

File tree

1 file changed

+35
-15
lines changed

1 file changed

+35
-15
lines changed

.github/workflows/actions.yaml

+35-15
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,39 @@ on:
33
branches: [ master ]
44

55
jobs:
6-
build:
7-
runs-on: ubuntu-18.04
6+
build-release:
7+
name: Build Release
8+
runs-on: windows-latest
9+
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
build:
14+
- linux
15+
- linux-musl
16+
- macos
17+
- windows
18+
include:
19+
- build: linux
20+
os: ubuntu-latest
21+
target: x86_64-unknown-linux-gnu
22+
- build: linux-musl
23+
os: ubuntu-latest
24+
target: x86_64-unknown-linux-musl
25+
- build: macos
26+
os: macos-latest
27+
target: x86_64-apple-darwin
28+
- build: windows
29+
os: windows-latest
30+
target: x86_64-pc-windows-msvc
31+
env:
32+
RUST_BACKTRACE: 1
33+
834
steps:
9-
- uses: actions/checkout@v2
10-
- name: docker-compose up
11-
env:
12-
COMPOSE_INTERACTIVE_NO_CLI: 1
13-
run: sudo -E docker-compose up -d
14-
- name: Check running containers
15-
run: sudo -E docker-compose ps -a
16-
- name: Check logs
17-
run: sudo -E docker-compose logs app
18-
- name: Test with pytest
19-
env:
20-
COMPOSE_INTERACTIVE_NO_CLI: 1
21-
run: sudo -E docker-compose exec app pytest
35+
- uses: actions/checkout@v2
36+
37+
- name: Build archive
38+
shell: bash
39+
run: |
40+
mkdir -p test
41+
7z a test.zip test/

0 commit comments

Comments
 (0)