Compare commits

..

5 Commits

Author SHA1 Message Date
s1d3sw1ped
b3edcc46e6 Merge pull request 'develop' (#4) from develop into master
Some checks failed
Build and Artifact Vulture / build (push) Failing after 44s
Reviewed-on: #4
2024-03-10 06:54:54 +00:00
s1d3sw1ped
be8256466d Merge branch 'master' into develop
Some checks failed
PR Validation / Build and Test Vulture (pull_request) Failing after 55s
Build and Artifact Vulture / build (push) Failing after 58s
2024-03-10 06:54:42 +00:00
f1e9961bdd mingw was not found might need to apt update first
Some checks failed
Build and Artifact Vulture / build (push) Failing after 35s
PR Validation / Build and Test Vulture (pull_request) Failing after 44s
2024-03-10 00:53:11 -06:00
e75f77be7f Merge branch 'develop' of ssh://git.s1d3sw1ped.com:2222/s1d3sw1ped/SwipedModSwitcher into develop
Some checks failed
Build and Artifact Vulture / build (push) Failing after 53s
2024-03-10 00:50:13 -06:00
a5655abe76 maybe found problem 2024-03-10 00:50:11 -06:00
3 changed files with 9 additions and 7 deletions

View File

@@ -18,7 +18,9 @@ jobs:
with:
go-version-file: 'go.mod'
- name: setup-dependencies
run: apt install mingw-w64 gcc
run: |
apt update
apt install mingw-w64 gcc
- 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

View File

@@ -19,8 +19,8 @@ jobs:
with:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |
apt install mingw-w64 gcc
run: |-
apt install mingw-w64 gcc
- name: Build
run: go build -v ./...
- name: Run Tests
@@ -28,9 +28,9 @@ jobs:
- name: Check Vet
run: go vet ./...
- name: Check Formatting
run: |
gofmt -s -l .
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
run: |-
gofmt -s -l .
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Check Lint
uses: golangci/golangci-lint-action@v3
with:

View File

@@ -17,7 +17,7 @@ jobs:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |
apt install mingw-w64 gcc
apt install mingw-w64 gcc
- 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