From 01b6e6fe1c227237953de55c6023c7d14ce0d92b Mon Sep 17 00:00:00 2001 From: gogo24 Date: Thu, 9 Jan 2025 19:00:52 +0100 Subject: [PATCH] doc debian --- .github/workflows/debian-build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/debian-build.yml diff --git a/.github/workflows/debian-build.yml b/.github/workflows/debian-build.yml new file mode 100644 index 00000000..5c3c7537 --- /dev/null +++ b/.github/workflows/debian-build.yml @@ -0,0 +1,30 @@ +name: ensure zoekt builds on debian + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: debian-latest + + steps: + - uses: actions/checkout@v4 + + - name: install go + run: | + wget https://go.dev/dl/go1.23.4.linux-amd64.tar.gz + sudo mkdir -p /usr/local/go1.23.4 + sudo tar -C /usr/local/go1.23.4 -xzf go1.23.4.linux-amd64.tar.gz + export PATH=/usr/local/go1.23.4/go/bin:$PATH + export PATH=/usr/local/go1.23.4/go/bin:$PATH + export GOROOT=/usr/local/go1.23.4/go/ + export GOBIN=/usr/local/go1.23.4/go/bin/ + export GOPROXY=direct + export GOPATH="$HOME/go" + + - name: run zoekt + run: | + go run cmd/zoekt/main.go