Skip to content

Commit

Permalink
Fix gvm
Browse files Browse the repository at this point in the history
  • Loading branch information
mliezun committed Dec 24, 2024
1 parent 56e9776 commit 7e984cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@
GOEXPERIMENT: cgocheck2
steps:
- name: Set up OS deps
shell: bash
run: |
yum -y update
yum -y install go git gcc make
curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer | bash
. /github/home/.gvm/scripts/gvm
echo '[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"' >> $HOME/.bashrc
tail $HOME/.bashrc
source "$HOME/.gvm/scripts/gvm"
gvm install 1.21.6
gvm use 1.21.6
- uses: actions/checkout@v4
- name: Run module tests
run: go test -race -v ./...
- name: Build the CLI
shell: bash
run: |
cd cmd/cli
export PKG_CONFIG_PATH=/opt/_internal/cpython-${{ matrix.python-version }}.*/lib/pkgconfig/
Expand Down

0 comments on commit 7e984cc

Please sign in to comment.