-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make testing with the multi-binary platform independent (#181)
* Update ci.yml * Add GNU coreutils for Windows testing * Make multi-binary tests platform-independent * Test Rust coreutils with multi-binary * Fix typo in winos-test * Bump engineerd/configurator
- Loading branch information
Showing
4 changed files
with
12 additions
and
32 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,7 +27,7 @@ jobs: | |
echo "adding '${PWD}' to PATH" | ||
echo "${PWD}" >> $GITHUB_PATH | ||
- name: Download uutils/coreutils | ||
uses: engineerd/[email protected].8 | ||
uses: engineerd/[email protected].10 | ||
with: | ||
name: 'coreutils.exe' | ||
url: 'https://github.com/uutils/coreutils/releases/download/0.0.17/coreutils-0.0.17-x86_64-pc-windows-msvc.zip' | ||
|
@@ -58,7 +58,7 @@ jobs: | |
shell: bash | ||
run: | | ||
# Run tests | ||
cd coreutils && v test . | ||
cd coreutils && USE_MULTI_BINARY_TO_TEST=coreutils v test . | ||
ubuntu-fast-build: | ||
runs-on: ubuntu-latest | ||
|
@@ -74,7 +74,6 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
path: coreutils | ||
|
||
- name: V doctor | ||
run: v doctor | ||
- name: Ensure everything is formatted | ||
|
@@ -100,7 +99,6 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
path: coreutils | ||
|
||
- name: Build all with -prod | ||
run: cd coreutils && v run build.vsh -prod | ||
- name: Run tests | ||
|
@@ -120,10 +118,8 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
path: coreutils | ||
|
||
- name: Build all | ||
run: cd coreutils && v run build.vsh | ||
|
||
- name: Native utils diagnostics (before GNU coreutils) | ||
run: | | ||
sleep --version | ||
|
@@ -132,6 +128,5 @@ jobs: | |
uses: ShenTengTu/setup-gnu-coreutils-action@v1 | ||
- name: Test GNU coreutils uptime | ||
run: uptime --version | ||
|
||
- name: Run tests | ||
run: cd coreutils && GNU_COREUTILS_INSTALLED=1 make test |
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
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
Binary file not shown.