Skip to content

Commit f173cf7

Browse files
authored
Update build_cmake.yml to use version of customAction branch
1 parent db0ba81 commit f173cf7

File tree

1 file changed

+4
-77
lines changed

1 file changed

+4
-77
lines changed

.github/workflows/build_cmake.yml

Lines changed: 4 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
build:
77
permissions:
8-
contents: write # to push pages branch (peaceiris/actions-gh-pages)
8+
contents: write # to push pages branch (peaceiris/actions-gh-pages) TODO PaM: Kell?
99

1010
name: ${{ matrix.config.name }}
1111
runs-on: ${{ matrix.config.os }}
@@ -29,74 +29,15 @@ jobs:
2929
- name: Checkout doxygen
3030
uses: actions/checkout@v3
3131
with:
32-
fetch-depth: 0
33-
34-
# - name: Download MikTex (Windows)
35-
# run: |
36-
# $wc = New-Object System.Net.WebClient;
37-
# $maxAttempts=5;
38-
# $attemptCount=0;
39-
# Do {
40-
# $attemptCount++;
41-
# Try {
42-
# $wc.DownloadFile("https://ctan.math.illinois.edu/systems/win32/miktex/setup/windows-x64/miktexsetup-5.2.0+b8f430f-x64.zip","miktexsetup-5.2.0+b8f430f-x64.zip")
43-
# } Catch [Exception] {
44-
# Write-Host $_.Exception | format-list -force
45-
# }
46-
# } while (((Test-Path "miktexsetup-5.2.0+b8f430f-x64.zip") -eq $false) -and ($attemptCount -le $maxAttempts))
47-
# shell: pwsh
48-
# if: matrix.config.os == 'windows-latest'
49-
32+
fetch-depth: 0
33+
5034
- name: Install libiconv (Windows)
5135
uses: suisei-cn/actions-download-file@v1
5236
with:
5337
url: "https://github.com/pffang/libiconv-for-Windows/releases/download/v1.16/libiconv-for-Windows_1.16.7z"
5438
target: .
5539
if: matrix.config.os == 'windows-latest'
5640

57-
- name: Install LaTeX (MacOS)
58-
run: |
59-
brew update
60-
brew install --cask mactex;
61-
echo "/Library/TeX/texbin/" >> $GITHUB_PATH
62-
if: matrix.config.os == 'macos-latest'
63-
64-
# - name: Extract MikTex zip (Windows)
65-
# shell: bash
66-
# run: |
67-
# unzip miktexsetup-5.2.0+b8f430f-x64.zip
68-
# if: matrix.config.os == 'windows-latest'
69-
#
70-
# - name: Download MikTex packages (Windows)
71-
# shell: bash
72-
# run: |
73-
# ./miktexsetup_standalone --verbose \
74-
# --local-package-repository="C:/miktex-repository" \
75-
# --remote-package-repository="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/" \
76-
# --package-set=essential \
77-
# download
78-
# if: matrix.config.os == 'windows-latest'
79-
#
80-
# - name: Install MikTex packages (Windows)
81-
# shell: bash
82-
# run: |
83-
# ./miktexsetup_standalone --local-package-repository="C:/miktex-repository" \
84-
# --verbose \
85-
# --package-set=essential \
86-
# --shared \
87-
# install
88-
# if: matrix.config.os == 'windows-latest'
89-
#
90-
# - name: Setting MikTex paths (Windows)
91-
# shell: bash
92-
# run: |
93-
# echo "C:/Program Files/MiKTeX/miktex/bin/x64/" >> $GITHUB_PATH
94-
# export PATH="/c/Program Files/MiKTeX/miktex/bin/x64/:$PATH"
95-
#
96-
# echo "Configuring MiKTeX to install missing packages on the fly"
97-
# initexmf --admin --verbose --set-config-value='[MPM]AutoInstall=1'
98-
# if: matrix.config.os == 'windows-latest'
99-
10041
- name: Install LaTeX (Windows)
10142
uses: teatimeguest/setup-texlive-action@v2
10243
with:
@@ -158,11 +99,6 @@ jobs:
15899
choco install graphviz.portable
159100
if: matrix.config.os == 'windows-latest'
160101

161-
# - name: Install Perl (Windows)
162-
# run:
163-
# choco install activeperl
164-
# if: matrix.config.os == 'windows-latest'
165-
166102
- name: Setup VS Environment (Windows)
167103
uses: seanmiddleditch/gha-setup-vsdevenv@master
168104
if: matrix.config.os == 'windows-latest'
@@ -172,9 +108,6 @@ jobs:
172108
refreshenv
173109
if: matrix.config.os == 'windows-latest'
174110

175-
- name: Install Qt
176-
uses: jurplel/install-qt-action@v3
177-
178111
- name: Check tool versions (Linux / MacOS)
179112
shell: bash
180113
run: |
@@ -184,12 +117,6 @@ jobs:
184117
python --version;
185118
echo "=== cmake ===";
186119
cmake --version;
187-
echo "=== latex ===";
188-
latex --version;
189-
echo "=== bibtex ===";
190-
bibtex --version
191-
echo "=== dvips ===";
192-
dvips --version
193120
echo "=== bison ===";
194121
bison --version;
195122
echo "=== flex ===";
@@ -238,7 +165,7 @@ jobs:
238165
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
239166
-G "${{ matrix.config.build_gen }}"
240167
-Dbuild_doc=YES
241-
-Dbuild_wizard=YES
168+
-Dbuild_for_code_sign=NO
242169
${{ matrix.config.cmake_extra_opts }}
243170
RESULT_VARIABLE result
244171
)

0 commit comments

Comments
 (0)