From dc8814254802148e2bfa796640cca96ad5a51c08 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 25 Nov 2023 15:57:19 -0300 Subject: [PATCH] another attempt at making this work on github actions. --- .github/workflows/release.yml | 6 ++++-- Makefile | 2 ++ go.mod | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 Makefile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a93b557..3a4ebd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,12 +24,13 @@ jobs: - make-release strategy: matrix: - goos: [linux, freebsd, darwin, windows] - goarch: [amd64, arm64] + goos: [linux] + goarch: [amd64] exclude: - goarch: arm64 goos: windows steps: + - run: sudo apt install clang libsqlite3-dev liblmdb-dev - uses: actions/checkout@v3 - uses: wangyoucao577/go-release-action@v1.40 with: @@ -40,3 +41,4 @@ jobs: md5sum: false sha256sum: false compress_assets: false + build_command: make diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0e6bb76 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +all: + CC=clang go build diff --git a/go.mod b/go.mod index 7f64b9c..4404e45 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/fiatjaf/jinglebells -go 1.21.4 +go 1.21.0 + +toolchain go1.21.4 require ( github.com/fiatjaf/eventstore v0.2.11