mirror of
https://github.com/MaJerle/lwbtn.git
synced 2026-08-17 01:24:22 +08:00
udpate cicd
This commit is contained in:
@@ -11,29 +11,16 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Install MinGW
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
choco install mingw --version=12.2.0 -y
|
||||
echo "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" >> $GITHUB_PATH
|
||||
gcc --version
|
||||
- name: Install Ninja
|
||||
run: sudo apt-get update && sudo apt-get install -y ninja-build
|
||||
|
||||
- name: Run Tests
|
||||
working-directory: tests
|
||||
run: |
|
||||
python test.py --github
|
||||
python3 test.py --github
|
||||
|
||||
Reference in New Issue
Block a user