Skip to content

Commit

Permalink
GitHub CI: Use curl on UnicodeData.txt and fix directory traversal, G…
Browse files Browse the repository at this point in the history
…itHub #1578
  • Loading branch information
rdmark committed Oct 1, 2024
1 parent 8730036 commit 5bb280a
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: sudo meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run distribution tests
run: cd build && meson dist
run: cd build && meson && dist cd ..
- name: Install
run: sudo meson install -C build
- name: Start netatalk
Expand All @@ -374,7 +374,7 @@ jobs:
- name: Install dependencies
run: |
brew install berkeley-db cmark-gfm docbook-xsl libxslt meson mysql talloc
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
- name: Configure
run: |
meson setup build \
Expand All @@ -383,7 +383,7 @@ jobs:
- name: Build
run: meson compile -C build
- name: Run tests
run: cd build && meson test
run: cd build && meson test && cd ..
- name: Install
run: sudo meson install -C build
- name: Start netatalk
Expand Down Expand Up @@ -430,11 +430,10 @@ jobs:
py39-sqlite3 \
py39-tkinter \
talloc \
tracker3 \
wget
tracker3
run: |
set -e
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
meson setup build \
-Dwith-appletalk=true
meson compile -C build
Expand Down Expand Up @@ -472,11 +471,10 @@ jobs:
perl5 \
pkgconf \
talloc \
tracker3 \
wget
tracker3
run: |
set -e
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
meson setup build \
-Dpkg_config_path=/usr/local/libdata/pkgconfig \
-Dwith-appletalk=true
Expand Down Expand Up @@ -532,7 +530,8 @@ jobs:
-Dwith-dtrace=false \
-Dwith-tests=true
meson compile -C build
cd build && meson test
cd build
meson test
cd ..
meson install -C build
/usr/local/sbin/netatalk -V
Expand Down Expand Up @@ -573,11 +572,10 @@ jobs:
openpam \
p5-Net-DBus \
pkgconf \
tracker3 \
wget
tracker3
run: |
set -e
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
meson setup build \
-Dpkg_config_path=/usr/local/lib/pkgconfig \
-Dwith-appletalk=true
Expand Down Expand Up @@ -624,7 +622,7 @@ jobs:
run: |
set -e
export PATH=/opt/local/sbin:/opt/local/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:$PATH
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
meson setup build \
-Dpkg_config_path=/opt/local/lib/pkgconfig \
-Dwith-appletalk=true \
Expand Down Expand Up @@ -662,20 +660,20 @@ jobs:
libgcrypt \
ninja \
pkg-config \
python/pip \
wget
python/pip
pip install meson
run: |
set -e
wget https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
curl https://www.unicode.org/Public/UNIDATA/UnicodeData.txt --output UnicodeData.txt
meson setup build \
-Dpkg_config_path=/usr/lib/amd64/pkgconfig \
-Dwith-appletalk=true \
-Dwith-dbus-sysconf-path=/usr/share/dbus-1/system.d \
-Dwith-docbook-path=/usr/share/sgml/docbook/xsl-stylesheets \
-Dwith-tests=true
meson compile -C build
cd build && meson test
cd build
meson test
cd ..
meson install -C build
/usr/local/sbin/netatalk -V
Expand Down

0 comments on commit 5bb280a

Please sign in to comment.