mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@@ -7,11 +7,12 @@ on:
|
|||||||
- dev
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
build-go:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
||||||
@@ -21,5 +22,12 @@ jobs:
|
|||||||
- name: Build binaries
|
- name: Build binaries
|
||||||
run: make go-build-release
|
run: make go-build-release
|
||||||
|
|
||||||
|
build-docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: make docker-build-release
|
run: make dev-build
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -56,3 +56,6 @@ go-build-release-darwin-amd64:
|
|||||||
|
|
||||||
go-build-release-windows-amd64:
|
go-build-release-windows-amd64:
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o bin/olm_windows_amd64.exe
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o bin/olm_windows_amd64.exe
|
||||||
|
|
||||||
|
dev-build:
|
||||||
|
docker build -t fosrl/olm:latest .
|
||||||
|
|||||||
Reference in New Issue
Block a user