mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-24 13:04:24 +00:00
Add quick linux/amd64 only test build
This commit is contained in:
parent
1b7cb8c9cb
commit
26c419f564
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
run: "diffsize=$(git diff bindata/static/js/gotty.js | wc -l); test $diffsize == 0"
|
run: "diffsize=$(git diff bindata/static/js/gotty.js | wc -l); test $diffsize == 0"
|
||||||
|
|
||||||
|
|
||||||
build-test:
|
cross-compile-test:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
- name: "Build & test"
|
- name: "Build & test"
|
||||||
run: "make tools test cross_compile"
|
run: "make tools test cross_compile"
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: binaries
|
||||||
|
30
.github/workflows/quick-build.yaml
vendored
Normal file
30
.github/workflows/quick-build.yaml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: "Quick build test"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
quick-build-test:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: 1.19
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
run: "touch bindata/* bindata/*/* ; make"
|
||||||
|
|
||||||
|
- name: Upload linux/amd64 artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: gotty-linux-amd64
|
||||||
|
path: gotty
|
Loading…
Reference in New Issue
Block a user