https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2dc9f0ae439970552f0e5…
commit 2dc9f0ae439970552f0e5cd1a853b260ec85422f
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Thu May 28 23:11:53 2020 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Thu May 28 23:11:53 2020 +0300
[GITHUB] Set up necessary environment variables for Flex and Bison
Decrease ccache size, based on observations
Print ccache statistics in the end of build
---
.github/workflows/build.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b9326331c4e..2b4cec87147 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,7 +27,7 @@ jobs:
run: |
echo "::set-env name=CCACHE_BASEDIR::${{github.workspace}}"
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"
- name: Configure
run: |
@@ -42,6 +42,8 @@ jobs:
run: |
echo 'cd ${{github.workspace}}/build && cmake --build . --target
bootcd && cmake --build . --target livecd' > commands
${{github.workspace}}/rosbe/RosBE.sh < 'commands'
+ - name: Print ccache statistics
+ run: ccache -s
- name: Upload bootcd
uses: actions/upload-artifact@v1
with:
@@ -64,6 +66,8 @@ jobs:
curl -O
https://svn.reactos.org/storage/vperevertkin/flexbison.7z
7z x flexbison.7z -O${{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
uses: ilammy/msvc-dev-cmd@v1
with:
@@ -109,6 +113,8 @@ jobs:
curl -O
https://svn.reactos.org/storage/vperevertkin/flexbison.7z
7z x flexbison.7z -O${{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
uses: ilammy/msvc-dev-cmd@v1
with: