Merge pull request #54 from jimon/dependabot/github_actions/github-ac… #173
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: windows | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - '.github/workflows/windows.yml' | |
| - 'tests/**' | |
| - '**/*.lua' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/windows.yml' | |
| - 'tests/**' | |
| - '**/*.lua' | |
| jobs: | |
| windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - uses: mymindstorm/setup-emsdk@v16 | |
| - name: install premake5 | |
| uses: Jarod42/install-premake5@v7 | |
| - name: install ninja | |
| uses: seanmiddleditch/gha-setup-ninja@v6 | |
| - name: Versions | |
| run: | | |
| python --version | |
| premake5 --version | |
| ninja --version | |
| - name: Add cl.exe to PATH | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| - name: test projects | |
| run: cd tests && python run_tests.py | |
| shell: bash |