Compare commits

..

2 Commits

Author SHA1 Message Date
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' go-version-file: 'go.mod'
- name: setup-dependencies - name: setup-dependencies
run: | run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: build-linux - 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 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 #- 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 # 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: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: setup-dependencies - name: setup-dependencies
run: |- run: |
apt install mingw-w64 gcc apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...
- name: Run Tests - name: Run Tests

View File

@@ -17,7 +17,7 @@ jobs:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: setup-dependencies - name: setup-dependencies
run: | run: |
apt install mingw-w64 gcc apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: release-build-linux - 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 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 - name: release-build-windows