Skip to content

Commit

Permalink
ci/cd crosscompile
Browse files Browse the repository at this point in the history
  • Loading branch information
mcandre committed Nov 7, 2024
1 parent e099beb commit 9ddb2ca
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test-crosscompile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "Test-Crosscompile"
on: # yamllint disable-line rule:truthy
push:
pull_request:
jobs:
Test-Crosscompile:
runs-on: "ubuntu-24.04"
env:
GOPATH: "/home/runner/go"
steps:
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo curl"
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
- run: "make -j 4 go"
- run: "mage port"

0 comments on commit 9ddb2ca

Please sign in to comment.