mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[GITHUB] Set up necessary environment variables for Flex and Bison
Decrease ccache size, based on observations Print ccache statistics in the end of build
This commit is contained in:
parent
e4066536c2
commit
2dc9f0ae43
1 changed files with 7 additions and 1 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "::set-env name=CCACHE_BASEDIR::${{github.workspace}}"
|
echo "::set-env name=CCACHE_BASEDIR::${{github.workspace}}"
|
||||||
echo "::set-env name=CCACHE_DIR::${{github.workspace}}/ccache"
|
echo "::set-env name=CCACHE_DIR::${{github.workspace}}/ccache"
|
||||||
echo "::set-env name=CCACHE_MAXSIZE::2G"
|
echo "::set-env name=CCACHE_MAXSIZE::1G"
|
||||||
echo "::set-env name=CCACHE_SLOPPINESS::time_macros"
|
echo "::set-env name=CCACHE_SLOPPINESS::time_macros"
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,6 +42,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo 'cd ${{github.workspace}}/build && cmake --build . --target bootcd && cmake --build . --target livecd' > commands
|
echo 'cd ${{github.workspace}}/build && cmake --build . --target bootcd && cmake --build . --target livecd' > commands
|
||||||
${{github.workspace}}/rosbe/RosBE.sh < 'commands'
|
${{github.workspace}}/rosbe/RosBE.sh < 'commands'
|
||||||
|
- name: Print ccache statistics
|
||||||
|
run: ccache -s
|
||||||
- name: Upload bootcd
|
- name: Upload bootcd
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
@ -64,6 +66,8 @@ jobs:
|
||||||
curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z
|
curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z
|
||||||
7z x flexbison.7z -O${{github.workspace}}\bin
|
7z x flexbison.7z -O${{github.workspace}}\bin
|
||||||
echo "::add-path::${{github.workspace}}\bin"
|
echo "::add-path::${{github.workspace}}\bin"
|
||||||
|
echo "::set-env name=BISON_PKGDATADIR::${{github.workspace}}\bin\share\bison"
|
||||||
|
echo "::set-env name=M4::${{github.workspace}}\bin\m4.exe"
|
||||||
- name: Add CL to PATH
|
- name: Add CL to PATH
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
|
@ -109,6 +113,8 @@ jobs:
|
||||||
curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z
|
curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z
|
||||||
7z x flexbison.7z -O${{github.workspace}}\bin
|
7z x flexbison.7z -O${{github.workspace}}\bin
|
||||||
echo "::add-path::${{github.workspace}}\bin"
|
echo "::add-path::${{github.workspace}}\bin"
|
||||||
|
echo "::set-env name=BISON_PKGDATADIR::${{github.workspace}}\bin\share\bison"
|
||||||
|
echo "::set-env name=M4::${{github.workspace}}\bin\m4.exe"
|
||||||
- name: Add CL to PATH
|
- name: Add CL to PATH
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue