-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: master | ||
|
||
on: [push] | ||
|
||
env: | ||
timeout: 10 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
- name: Install build requirements | ||
run: | | ||
apt-get update | ||
apt-get install build-essential rpm python3 -y | ||
- name: Build with make | ||
timeout-minutes: ${{ fromJSON(env.time) }} | ||
run: make all | ||
|
||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
- name: Print environment | ||
run: set | ||
- name: Build with make | ||
timeout-minutes: ${{ fromJSON(env.time) }} | ||
run: make.exe bootstrapper | ||
|
||
build-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
- name: Print environment | ||
run: env | ||
- name: Build with make | ||
timeout-minutes: ${{ fromJSON(env.time) }} | ||
run: make bootstrapper |