2023-06-16 15:57:56 +03:00
|
|
|
name: C/C++ CI (Linux)
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Source Tree
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup build environment
|
|
|
|
run: |
|
|
|
|
sudo apt -y update
|
|
|
|
sudo apt -y install build-essential cmake libssl-dev
|
|
|
|
|
2023-06-30 10:58:20 +03:00
|
|
|
- name: Configure and build WindowsXPKg
|
|
|
|
uses: threeal/cmake-action@v1.2.0
|
|
|
|
with:
|
|
|
|
run-build: true
|
2023-06-16 15:57:56 +03:00
|
|
|
|
|
|
|
- name: Move files to correct directory
|
|
|
|
run: |
|
|
|
|
mkdir -p build/actions_upload
|
|
|
|
mv build/xpkey build/keys.json build/actions_upload/
|
|
|
|
|
|
|
|
- name: Upload build artifact
|
|
|
|
uses: actions/upload-artifact@v3.1.2
|
|
|
|
with:
|
|
|
|
name: WindowsXPKg-linux-x86_64-static
|
|
|
|
path: build/actions_upload
|