mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
parent
826aec48de
commit
9b783ce07a
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
path: RosBE-CI
|
path: RosBE-CI
|
||||||
key: RosBE-CI-${{runner.os}}-${{steps.get_rosbe_spec.outputs.march-sha}}-${{steps.get_rosbe_spec.outputs.git-sha}}-${{hashfiles('./build_rosbe_ci.sh')}}
|
key: RosBE-CI-${{runner.os}}-${{steps.get_rosbe_spec.outputs.march-sha}}-${{steps.get_rosbe_spec.outputs.git-sha}}-${{hashfiles('./build_rosbe_ci.sh')}}
|
||||||
- name: Compile RosBE
|
- name: Compile RosBE
|
||||||
if: steps.get_rosbe.outputs.cache-hit != 'true'
|
if: ${{ steps.get_rosbe.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
chmod +x build_rosbe_ci.sh
|
chmod +x build_rosbe_ci.sh
|
||||||
./build_rosbe_ci.sh ${{github.workspace}}/RosBE-CI
|
./build_rosbe_ci.sh ${{github.workspace}}/RosBE-CI
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
echo "CCACHE_MAXSIZE=1G" >> $GITHUB_ENV
|
echo "CCACHE_MAXSIZE=1G" >> $GITHUB_ENV
|
||||||
echo "CCACHE_SLOPPINESS=time_macros" >> $GITHUB_ENV
|
echo "CCACHE_SLOPPINESS=time_macros" >> $GITHUB_ENV
|
||||||
- name: Ease ccache compiler check (GCC)
|
- name: Ease ccache compiler check (GCC)
|
||||||
if: matrix.compiler == 'gcc'
|
if: ${{ matrix.compiler == 'gcc' }}
|
||||||
run: echo "CCACHE_COMPILERCHECK=string:${{steps.get_rosbe_spec.outputs.git-sha}}-${{hashfiles('./build_rosbe_ci.sh')}}" >> $GITHUB_ENV
|
run: echo "CCACHE_COMPILERCHECK=string:${{steps.get_rosbe_spec.outputs.git-sha}}-${{hashfiles('./build_rosbe_ci.sh')}}" >> $GITHUB_ENV
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: echo 'cmake -S ${{github.workspace}}/src -B ${{github.workspace}}/build -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-${{matrix.compiler}}.cmake -DARCH:STRING=${{matrix.arch}} -DENABLE_CCACHE=1 -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 -DCLANG_VERSION=${{env.LLVM_VERSION}}' | ${{github.workspace}}/RosBE-CI/RosBE.sh . 0 ${{matrix.arch}}
|
run: echo 'cmake -S ${{github.workspace}}/src -B ${{github.workspace}}/build -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-${{matrix.compiler}}.cmake -DARCH:STRING=${{matrix.arch}} -DENABLE_CCACHE=1 -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 -DCLANG_VERSION=${{env.LLVM_VERSION}}' | ${{github.workspace}}/RosBE-CI/RosBE.sh . 0 ${{matrix.arch}}
|
||||||
|
@ -98,13 +98,13 @@ jobs:
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
arch: amd64_x86
|
arch: amd64_x86
|
||||||
toolset: ${{ matrix.toolset }}
|
toolset: ${{matrix.toolset}}
|
||||||
- name: Activate VS cmd (amd64)
|
- name: Activate VS cmd (amd64)
|
||||||
if: ${{ matrix.arch == 'amd64' }}
|
if: ${{ matrix.arch == 'amd64' }}
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
toolset: ${{ matrix.toolset }}
|
toolset: ${{matrix.toolset}}
|
||||||
- name: Source checkout
|
- name: Source checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue