build: implement ios builds #42
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| on: | |
| push: {} | |
| # branches-ignore: | |
| # - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| GOTELEMETRY: off | |
| #CGO_ENABLED: 0 | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: 'stable' | |
| #go-version-file: 'go.mod' | |
| check-latest: true | |
| - run: sudo apt-get update | |
| - run: sudo apt-get install pass gnome-keyring dbus-x11 age | |
| - run: | | |
| git clone https://github.com/FiloSottile/passage /tmp/passage | |
| cd /tmp/passage | |
| sudo make install | |
| - run: go test -race ./... | |
| mac: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| #go-version: 1.19 | |
| go-version-file: 'go.mod' | |
| check-latest: true | |
| - run: brew install pass age | |
| - run: | | |
| git clone https://github.com/FiloSottile/passage /tmp/passage | |
| cd /tmp/passage | |
| make install PREFIX="$(brew --cellar)/passage/$(git describe --tags)" | |
| brew link passage | |
| - run: go test -race ./... |