Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-mcgann committed Jan 24, 2024
2 parents 4a3b1cf + 5e99b77 commit 261ae18
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install Dependencies
run: sudo apt install libproj-dev

- name: Build
run: go build -tags proj ./...

- name: Test
run: go test -tags proj ./...

- name: WASM
run: GOOS=js GOARCH=wasm go build -o web/zc.wasm cmd/wasm/main.go

0 comments on commit 261ae18

Please sign in to comment.