-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use artifact to pass build from the
check-build
job to other jobs
- Loading branch information
Showing
1 changed file
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,15 +27,24 @@ jobs: | |
- name: Check if the distribution is up to date | ||
run: git diff --exit-code HEAD | ||
|
||
- name: Upload the distribution as an artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
path: dist/ test/ action.yml | ||
|
||
standard-usage: | ||
needs: check-build | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows, ubuntu, macos] | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Download the distribution artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
|
||
- name: Configure and build the test project | ||
uses: threeal/[email protected] | ||
|
@@ -51,14 +60,17 @@ jobs: | |
uses: ./ | ||
|
||
llvm-usage: | ||
needs: check-build | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows, ubuntu, macos] | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Download the distribution artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
|
||
- name: Configure and build the test project | ||
uses: threeal/[email protected] | ||
|
@@ -77,14 +89,17 @@ jobs: | |
gcov-executable: ${{ matrix.os == 'macos' && 'xcrun ' || '' }}llvm-cov gcov | ||
|
||
exclusion-usage: | ||
needs: check-build | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows, ubuntu, macos] | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Download the distribution artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
|
||
- name: Configure and build the test project | ||
uses: threeal/[email protected] | ||
|
@@ -123,14 +138,17 @@ jobs: | |
fail-under-line: 100 | ||
|
||
coveralls-usage: | ||
needs: check-build | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows, ubuntu, macos] | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Download the distribution artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
|
||
- name: Configure and build the test project | ||
uses: threeal/[email protected] | ||
|