Fixed ecs.h not using the single-include header #123
This file contains 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: Generate single-include header | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
generate_header: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true # recursive | |
- name: Generate header and module | |
shell: powershell | |
run: | | |
cd include/ecs | |
./make_single_header.ps1 | |
cd .. | |
cd .. | |
- name: Upload changes | |
shell: powershell | |
run: | | |
git config --global user.name 'github_actions' | |
git config --global user.email 'github_actions@users.noreply.github.com' | |
git commit -am "Automated single-include header generation" | |
git push | |
run-msvc: | |
uses: ./.github/workflows/msvc.yml | |
needs: generate_header | |
run-gcc: | |
uses: ./.github/workflows/gcc.yml | |
needs: generate_header | |
run-clang: | |
uses: ./.github/workflows/clang.yml | |
needs: generate_header |