This repository was archived by the owner on Apr 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " cargo"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " github-actions"
8+ # Workflow files stored in the
9+ # default location of `.github/workflows`
10+ directory : " /"
11+ schedule :
12+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : ci-flow
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+ - " releases/*"
9+ # tags-ignore:
10+ # - "[0-9]+.[0-9]+.[0-9]+*"
11+
12+ jobs :
13+ build :
14+ runs-on : ${{ matrix.os.imageName }}
15+ strategy :
16+ matrix :
17+ rust_toolchain : ["stable"]
18+ os :
19+ - imageName : ubuntu-16.04
20+ target : x86_64-unknown-linux-gnu
21+ profile : linux
22+ - imageName : " macOS-latest"
23+ target : x86_64-apple-darwin
24+ profile : mac
25+ # - imageName: 'windows-2019'
26+ # target: x86_64-pc-windows-msvc
27+ # profile: windows
28+
29+ steps :
30+ - uses : actions-rs/toolchain@v1
31+ with :
32+ toolchain : ${{ matrix.rust_toolchain }}
33+ override : true
34+ - uses : davidB/rust-cargo-make@v1
35+ - uses : actions/checkout@v2.3.4
36+ - name : Run tests
37+ run : cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} --env TARGET=${{matrix.os.target}} ci-flow
Original file line number Diff line number Diff line change 1+ name : release-flow
2+
3+ # https://help.github.com/en/articles/events-that-trigger-workflows#release-event-release
4+ # on: release
5+
6+ on :
7+ push :
8+ tags :
9+ - " [0-9]+.[0-9]+.[0-9]+*"
10+
11+ jobs :
12+ build :
13+ runs-on : ${{ matrix.os.imageName }}
14+ strategy :
15+ matrix :
16+ rust_toolchain : ["stable"]
17+ os :
18+ - imageName : ubuntu-16.04
19+ target : x86_64-unknown-linux-gnu
20+ profile : linux
21+ - imageName : " macOS-latest"
22+ target : x86_64-apple-darwin
23+ profile : mac
24+ # - imageName: 'windows-2019'
25+ # target: x86_64-pc-windows-msvc
26+ # profile: windows
27+ env :
28+ TARGET : ${{matrix.os.target}}
29+
30+ steps :
31+ - uses : actions-rs/toolchain@v1
32+ with :
33+ toolchain : ${{ matrix.rust_toolchain }}
34+ override : true
35+ - uses : davidB/rust-cargo-make@v1
36+ - uses : actions/checkout@v2.3.4
37+ - name : Make zip-release-ci-flow
38+ run : cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} zip-release-ci-flow
39+ - name : Upload to gitHub release
40+ run : cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} github-upload-flow
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ TAG : ${{ github.ref }}
44+ # GITHUB_REPOSITORY: ${{ GITHUB_REPOSITORY }}
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments