Skip to content

Commit

Permalink
Update BuildPR.yml
Browse files Browse the repository at this point in the history
Removed windows and ubuntu
  • Loading branch information
bunty95 authored Jun 10, 2024
1 parent dc672ed commit 4a7b6c7
Showing 1 changed file with 3 additions and 59 deletions.
62 changes: 3 additions & 59 deletions .github/workflows/BuildPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
macos: [ macos-13 ]
xcode: [ Xcode_15.2 ]
macos: [ macos-12 ]
xcode: [ Xcode_14.2 ]
include:
- xcode: Xcode
macos: macos-14
Expand Down Expand Up @@ -46,60 +46,4 @@ jobs:
name: DLTViewer-${{ matrix.macos }}-x86_64
path: build/dist/DLTViewer*.tgz

buildLinux:
name: Build ${{ matrix.ubuntu }}
strategy:
matrix:
ubuntu: [ ubuntu-20.04 ]
runs-on: ${{ matrix.ubuntu }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: install build environment
run: scripts/linux/install.sh
- name: Build project
run: scripts/linux/build.sh
- name: Make artifact executable
run: chmod -R +x build/dist
- name: Archive artifact
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: DLTViewer-linux-x86_64
path: build/dist/DLTViewer*.tgz

buildWindows:
name: Build Windows
strategy:
matrix:
task: [ sdk ]
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Install qt
uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
- name: Build with CMake ${{ matrix.task }}
run: >
$env:WORKSPACE=$env:GITHUB_WORKSPACE;
$env:QTDIR=$env:Qt5_DIR.Replace('/','\');
$env:CPACK_7Z="true";
$env:CPACK_NSIS="true";
./build_sdk_windows_qt5_MSVC_cmake.bat
- name: Archive artifact
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: DLTViewer-windows-x86_64
path: |
build/dist/DLTViewer*.7z
build/dist/DLTViewer*.exe
build/dist/*.md

0 comments on commit 4a7b6c7

Please sign in to comment.