aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-01-03 22:24:18 +0600
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2022-01-06 17:53:02 +0000
commita9c6cbcd207eed387085647017d14324e63f77dd (patch)
tree7853fb06c2e897de7c485f41d2032e5c53504d87 /.github/workflows
parent35a9ca33d607151ccf477942568618afd67a7ef4 (diff)
[ci] separate dep from build
removes /dev/null redirections from the dep step so in case some dep fails to install/compile we will have the log.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2a7ccfa..67cd347 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,14 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: make
+ - name: dep
run: |
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
libxft2 libxft-dev libexif12 libexif-dev \
- gcc clang >/dev/null
+ gcc clang
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
- wget --quiet "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
- ( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; ) >/dev/null
+ wget "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
+ ( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; )
+ - name: build
+ run: |
# vanilla flags
CFLAGS="-std=c99 -Wall -pedantic"
# extra flags
@@ -38,14 +40,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: make
+ - name: dep
run: |
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
- gcc clang >/dev/null
- sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev >/dev/null
+ gcc clang
+ sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
- wget --quiet "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
- ( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; ) >/dev/null
+ wget "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
+ ( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; )
+ - name: build
+ run: |
# vanilla flags
CFLAGS="-std=c99 -Wall -pedantic"
# extra flags