Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
b-long committed Jul 17, 2024
1 parent ec32c77 commit b9ee47b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-golang-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

- name: Setup Docker on macOS using Colima, Lima-VM, and Homebrew
uses: douglascamata/setup-docker-macos-action@v1-alpha
with:
upgrade-qemu: true


- name: Verify docker Installation
Expand Down
28 changes: 11 additions & 17 deletions .github/workflows/multiplatform-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
build_macos:
permissions:
contents: write

strategy:
fail-fast: true
matrix:
os_version: [ 13 ]
go-version: [ 1.22.x ]
python3_version: [ 11 ]
# go-version: [ '1.19', '1.20', '1.22.x' ]

runs-on: macos-${{ matrix.os_version }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -69,9 +69,6 @@ jobs:
echo '$HOME/'
ls -la "$HOME/"
echo '$HOME/.local/'
ls -la "$HOME/.local/"
echo '$HOME/go/'
ls -la "$HOME/go/"
Expand Down Expand Up @@ -112,13 +109,13 @@ jobs:
with:
# name: wheels-macos${{ matrix.os_version }}-py3${{ matrix.python3_version }}-${{ matrix.arch_cibw_go[0] }}
name: wheels-macos${{ matrix.os_version }}-py3${{ matrix.python3_version }}-x86_64
path: ./wheelhouse/*.whl
path: ./dist/*.whl

build_linux_x86_64:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: write

strategy:
fail-fast: true
matrix:
Expand All @@ -138,7 +135,7 @@ jobs:
docker --version
docker ps
vagrant --version
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand All @@ -163,9 +160,6 @@ jobs:
echo '$HOME/'
ls -la "$HOME/"
echo '$HOME/.local/'
ls -la "$HOME/.local/"
echo '$HOME/go/'
ls -la "$HOME/go/"
Expand Down Expand Up @@ -199,15 +193,15 @@ jobs:
pip install dist/ohpygossh-0.0.5-py3-none-any.whl
# Test wheel functionality
python3 validate_ohpygossh.py
python3 validate_ohpygossh.py
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: wheels-linux-amd64
path: ./wheelhouse/*.whl
path: ./dist/*.whl

release:
needs: [build_macos, build_linux_x86_64]
Expand All @@ -220,11 +214,11 @@ jobs:

- name: Collect all wheels
run: |
ls -R
# ls -R
mkdir dist
for f in $(find . -type f -name '*.whl'); do mv ${f} dist; done;
ls -R dist
- name: Store version
run: |
pip install poetry
Expand Down

0 comments on commit b9ee47b

Please sign in to comment.