update to cef version 120 #29
Workflow file for this run
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: Linux | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
- 'extras/images/**' | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "Linux 64", | |
os: "ubuntu-latest", | |
target: "linux", | |
cef_platform: "linux64", | |
} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: System dependencies | |
run: sudo apt-get install build-essential libgtk2.0-dev libgtkglext1-dev | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Upgrade PIP | |
run: python3 -m pip install --upgrade pip setuptools wheel | |
- name: Display Python version | |
run: python3 --version | |
- name: Display PIP version | |
run: python3 -m pip --version | |
- name: Python requirements | |
run: python3 -m pip install -r requirements.txt | |
- name: Install CMake | |
uses: jwlawson/actions-setup-cmake@v1.8 | |
with: | |
cmake-version: "3.24.0" | |
- name: Build | |
run: | | |
cmake -E make_directory build | |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCEF_PLATFORM=${{ matrix.config.cef_platform }} | |
cmake --build build --target MyApp --config Release -v | |
- name: Pack | |
run: python3 -m tarfile -c ../${{ matrix.config.target }}-${{ matrix.config.cef_platform }}.tar.gz Release | |
working-directory: build | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: artifact-${{ matrix.config.target }}-${{ matrix.config.cef_platform }} | |
path: ${{ matrix.config.target }}-${{ matrix.config.cef_platform }}.tar.gz | |
- name: Release | |
id: upload-release-asset | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ${{ matrix.config.target }}-${{ matrix.config.cef_platform }}.tar.gz |