Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving windows build to Github Actions #3575

Merged
merged 62 commits into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
fb39c4c
Checking what already works
algojack Feb 3, 2022
8dfca51
Fixing go installation
algojack Feb 3, 2022
72e0417
Fixing go installation
algojack Feb 3, 2022
66dbcc5
Fixing python installation
algojack Feb 3, 2022
9e3df0d
Fixing deps installation
algojack Feb 3, 2022
291820e
Fixing deps installation
algojack Feb 3, 2022
177b88f
Fixing deps installation
algojack Feb 3, 2022
e1aaa8e
Fixing go installation
algojack Feb 3, 2022
9f8ddab
Fixing go installation
algojack Feb 4, 2022
b33fa7f
Fixing go installation
algojack Feb 4, 2022
efae375
Fixing go installation
algojack Feb 4, 2022
367ef66
Fixing go installation
algojack Feb 4, 2022
be758f5
Trying github actions
algojack Feb 4, 2022
cc34d95
Fixing go installation
algojack Feb 4, 2022
09e09d5
Adding more deps and build test
algojack Feb 4, 2022
fd61e18
Fixing python version
algojack Feb 4, 2022
83d08ec
Fixing pacman
algojack Feb 4, 2022
2643409
Fixing msys2
algojack Feb 4, 2022
6c516ef
Fixing msys2
algojack Feb 4, 2022
ce7e78d
Fixing msys2
algojack Feb 4, 2022
3f30185
Fixing msys2
algojack Feb 5, 2022
be46e31
Fixing msys2
algojack Feb 5, 2022
1f0e6e6
Fixing msys2
algojack Feb 5, 2022
f81f739
Fixing msys2
algojack Feb 5, 2022
d48905a
Fixing msys2
algojack Feb 5, 2022
e6f34ce
Trying bash
algojack Feb 5, 2022
30db5bf
Trying msys again
algojack Feb 7, 2022
0b9fe3a
Defaulting to msys
algojack Feb 7, 2022
4e4cc69
Fixing go install
algojack Feb 7, 2022
9fc94e9
Fixing go install
algojack Feb 7, 2022
98f7a8b
Fixing go install
algojack Feb 7, 2022
4d9e692
Fixing go install
algojack Feb 7, 2022
cc9a4fd
Fixing go install
algojack Feb 7, 2022
d71af1c
Fixing go install
algojack Feb 7, 2022
06ac3c6
Fixing go install
algojack Feb 7, 2022
c78f7c2
Fixing go install
algojack Feb 7, 2022
bb0abf7
Fixing go install
algojack Feb 7, 2022
d923821
Fixing go install
algojack Feb 7, 2022
329a32c
Fixing go install
algojack Feb 7, 2022
50057d3
Cleaning up unused code
algojack Feb 7, 2022
9aab40e
Adding s3 artifact upload
algojack Feb 7, 2022
9e44590
Adding s3 artifact upload
algojack Feb 7, 2022
47cb147
Adding s3 artifact upload
algojack Feb 7, 2022
9975ac0
Adding s3 artifact upload
algojack Feb 7, 2022
5135b98
Adding s3 artifact upload
algojack Feb 7, 2022
6b9ae35
Adding s3 artifact upload
algojack Feb 7, 2022
4c11d9d
Adding s3 artifact upload
algojack Feb 7, 2022
0f5cc48
Adding s3 artifact upload
algojack Feb 7, 2022
ac35ef0
Adding s3 artifact upload
algojack Feb 7, 2022
3548d14
Adding s3 artifact upload
algojack Feb 7, 2022
6611592
Adding s3 artifact upload
algojack Feb 7, 2022
c049387
Adding s3 artifact upload
algojack Feb 7, 2022
635ac63
Testing slack notifications
algojack Feb 7, 2022
68cd725
Testing slack notifications
algojack Feb 7, 2022
8df28ea
Testing slack notifications
algojack Feb 7, 2022
56da347
Testing slack notifications
algojack Feb 7, 2022
dec9260
Testing slack notifications
algojack Feb 7, 2022
0d17af1
Testing slack notifications
algojack Feb 7, 2022
242c937
Cleaning up
algojack Feb 7, 2022
2cb38a2
Cleaning up
algojack Feb 7, 2022
41f7577
Fixed branch filter
algojack Feb 7, 2022
9e4915d
Adding more branches to slack alerts and removing python
algojack Feb 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Build workflow"
on:
pull_request:
jobs:
build-test-windows:
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
steps:
- name: Install msys2
uses: msys2/setup-msys2@v2
with:
update: true
path-type: inherit
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install golang
uses: actions/setup-go@v2
with:
go-version: '1.14.7'
- name: Build Test
run: |
export ALGORAND_DEADLOCK=enable
export SKIP_GO_INSTALLATION=True
scripts/travis/build_test.sh
# - name: Upload artifact to Github
# uses: actions/upload-artifact@v2
# with:
# if-no-files-found: error
# path: $(git ls-files -o | grep -v crypto/libs | grep -v crypto/copies | grep -v crypto/libsodium-fork | grep -v crypto/lib/ | grep -v ^gen/ | grep -v swagger.json.validated | tr "\n" ":")
- name: Slack Notification
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: |
curl -X POST --data-urlencode "payload={\"text\": \"Nightly windows build test on Github failed. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}" $SLACK_WEBHOOK
if: ${{ failure() && (contains(github.base_ref, 'rel/nightly') || contains(github.base_ref, 'rel/beta') || contains(github.base_ref, 'rel/stable')) }}
84 changes: 0 additions & 84 deletions .travis.yml

This file was deleted.