Skip to content

Commit

Permalink
Use buildkite-agent to download the testing bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Feb 28, 2025
1 parent 753db1c commit 916add5
Show file tree
Hide file tree
Showing 19 changed files with 16 additions and 4,165 deletions.
22 changes: 12 additions & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,10 @@ steps:
key: windows-testing-bundle
depends_on:
- trigger-build-windows-artifacts
command: nix build -o result/windows-tests .#ci.artifacts.win64.tests
artifact_paths: [ "./result/windows-tests/**" ]
command: |
nix build -o result .#ci.artifacts.win64.tests
cp result/cardano-wallet-*-tests-win64.zip ./windows-tests.zip
artifact_paths: [ "./windows-tests.zip"]
agents:
system: ${linux}

Expand All @@ -547,10 +549,10 @@ steps:
steps:
- label: Windows Unit Tests
command: |
cd test\e2e
bundle exec rake get_latest_windows_tests[%BUILDKITE_BRANCH%,cardano-wallet-tests-win64,any,latest]
cd cardano-wallet-tests-win64
.\cardano-wallet-unit-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2
buildkite-agent artifact download "windows-tests.zip" .
mkdir windows-tests
tar -xf windows-tests.zip -C windows-tests
.\windows-tests\cardano-wallet-unit-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2
agents:
system: ${windows}
env:
Expand All @@ -560,10 +562,10 @@ steps:

- label: Windows Text Class Tests
command: |
cd test\e2e
bundle exec rake get_latest_windows_tests[%BUILDKITE_BRANCH%,cardano-wallet-tests-win64,any,latest]
cd cardano-wallet-tests-win64
.\text-class-test-unit.exe --color
buildkite-agent artifact download "windows-tests.zip" .
mkdir windows-tests
tar -xf windows-tests.zip -C windows-tests
.\windows-tests\text-class-test-unit.exe --color
agents:
system: ${windows}
concurrency: 1
Expand Down
9 changes: 4 additions & 5 deletions scripts/buildkite/main/windows-e2e.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
set PATH=%PATH%;C:\Users\hal\AppData\Local\Microsoft\WinGet\Links

cd test\e2e
call bundle install
call bundle exec rake get_latest_windows_tests[%BUILDKITE_BRANCH%,bins,any,latest]
bins\cardano-wallet-integration-test-e2e.exe
buildkite-agent artifact download "windows-tests.zip" .
mkdir windows-tests
tar -xf windows-tests.zip -C windows-tests
.\windows-tests\cardano-wallet-integration-test-e2e.exe
exit /b %ERRORLEVEL%
17 changes: 0 additions & 17 deletions test/e2e/.envrc

This file was deleted.

9 changes: 0 additions & 9 deletions test/e2e/.gitattributes

This file was deleted.

26 changes: 0 additions & 26 deletions test/e2e/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions test/e2e/.rake_tasks~

This file was deleted.

3 changes: 0 additions & 3 deletions test/e2e/.rspec

This file was deleted.

44 changes: 0 additions & 44 deletions test/e2e/.rubocop.yml

This file was deleted.

1 change: 0 additions & 1 deletion test/e2e/.ruby-version

This file was deleted.

12 changes: 0 additions & 12 deletions test/e2e/Gemfile

This file was deleted.

58 changes: 0 additions & 58 deletions test/e2e/Gemfile.lock

This file was deleted.

Loading

0 comments on commit 916add5

Please sign in to comment.