diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b2e65f5..bd5cf67 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,17 +18,17 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential gperf - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.x' - name: Install Python dependencies run: | pip install -r requirements.txt - name: Build run: | mkdir build; cd build - cmake .. + cmake .. -DPython3_EXECUTABLE==$(which python) make -j$(nproc) - name: Test run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b82cb04..2f6c463 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -17,17 +17,17 @@ jobs: - name: Install dependencies run: | brew install gperf - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.x' - name: Install Python dependencies run: | pip install -r requirements.txt - name: Build run: | mkdir build; cd build - cmake .. + cmake .. -DPython3_EXECUTABLE==$(which python) make -j$(nproc) - name: Test run: |