Skip to content

🐞 fix: fix property_name_pinout_unit_ptr #53

🐞 fix: fix property_name_pinout_unit_ptr

🐞 fix: fix property_name_pinout_unit_ptr #53

Workflow file for this run

#
# Licensed under the GNU General Public License v. 3 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.gnu.org/licenses/gpl-3.0.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
#
# @author xqyjlj
# @file linux-ubuntu.yml
#
# Change Logs:
# Date Author Notes
# ------------ ---------- -----------------------------------------------
# 2023-06-29 xqyjlj initial version
#
name: linux ubuntu
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: 🔧 build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- qt_arch: gcc_64
qt_ver: 5.15.2
env:
QT_ASSUME_STDERR_HAS_CONSOLE: 1
QT_QPA_PLATFORM: "offscreen"
XMAKE_ROOT: "y"
steps:
- name: ⬇️ install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
arch: ${{ matrix.qt_arch }}
cache: "true"
- name: ⬇️ checkout csp
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: ⬇️ install xmake
uses: xmake-io/github-action-setup-xmake@v1
- name: 👷 build
shell: bash
run: |
mkdir build
pushd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_C_COMPILER=gcc
make -j$(nproc) VERBOSE=1
popd
- name: 🩺 test
shell: bash
run: |
pushd build
ctest --output-on-failure
popd