Skip to content

Commit

Permalink
Install apt packages and only build for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Dec 28, 2023
1 parent bcbae9e commit 8b29ecf
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ on:
permissions: read-all
jobs:
build-executable:
name: Build binaries ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Build binary for linux
runs-on: ubuntu-latest
steps:
- name: Install Apt packages
id: cache-apt
uses: awalsh128/cache-apt-pkgs-action@latest
with:
execute_install_scripts: true
packages: libfuse-dev
version: 1.0
- name: Checkout the Git repository
uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand All @@ -26,8 +30,8 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.nuitka
key: ${{ github.job }}-ccache-${{ matrix.os }}
- name: Build codexctl
key: ${{ github.job }}-ccache-ubuntu-latest
- name: Build with nuitka
run: |
pip install -r requirements.txt wheel nuitka
mkdir -p dist
Expand Down

0 comments on commit 8b29ecf

Please sign in to comment.