Skip to content

Commit

Permalink
Add Github Actions CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
FR4NK-W committed Nov 28, 2024
1 parent 3fc6dad commit 703f4e6
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build.yml
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

0 comments on commit 703f4e6

Please sign in to comment.