Compare commits

..

4 Commits

Author SHA1 Message Date
s1d3sw1ped
9104c1148e Merge pull request 'develop' (#8) from develop into master
Some checks failed
Build and Artifact Vulture / build (push) Failing after 26s
Reviewed-on: #8
2024-03-10 07:18:54 +00:00
s1d3sw1ped
764dfe0e07 Merge branch 'master' into develop
Some checks failed
Build and Artifact Vulture / build (push) Failing after 30s
PR Validation / Build and Test Vulture (pull_request) Failing after 29s
2024-03-10 07:18:33 +00:00
2e120d9a77 Merge branch 'develop' of ssh://git.s1d3sw1ped.com:2222/s1d3sw1ped/SwipedModSwitcher into develop
Some checks failed
Build and Artifact Vulture / build (push) Failing after 18s
PR Validation / Build and Test Vulture (pull_request) Failing after 21s
2024-03-10 01:16:44 -06:00
b9379f9d66 windows build disabled for now and deps are correct on all now 2024-03-10 01:16:34 -06:00
3 changed files with 5 additions and 6 deletions

View File

@@ -19,11 +19,10 @@ jobs:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: build-linux
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-linux-amd64
- name: build-windows
run: GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw64-gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-windows-amd64.exe
#- name: build-windows
# run: GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw64-gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-windows-amd64.exe

View File

@@ -19,8 +19,8 @@ jobs:
with:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |-
apt install mingw-w64 gcc
run: |
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Build
run: go build -v ./...
- name: Run Tests

View File

@@ -17,7 +17,7 @@ jobs:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |
apt install mingw-w64 gcc
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: release-build-linux
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X 's1d3sw1ped/vulture/config.BuildVersion=${{github.ref_name}}'" -o bin/vulture-${{github.ref_name}}-linux-amd64
- name: release-build-windows