[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.
This commit is contained in:
parent
35a9ca33d6
commit
a9c6cbcd20
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -12,14 +12,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: make
|
- name: dep
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
|
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
|
||||||
libxft2 libxft-dev libexif12 libexif-dev \
|
libxft2 libxft-dev libexif12 libexif-dev \
|
||||||
gcc clang >/dev/null
|
gcc clang
|
||||||
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
|
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
|
||||||
wget --quiet "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
|
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; ) >/dev/null
|
( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; )
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
# vanilla flags
|
# vanilla flags
|
||||||
CFLAGS="-std=c99 -Wall -pedantic"
|
CFLAGS="-std=c99 -Wall -pedantic"
|
||||||
# extra flags
|
# extra flags
|
||||||
@ -38,14 +40,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: make
|
- name: dep
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
|
sudo apt-get install libimlib2 libimlib2-dev xserver-xorg-core xserver-xorg-dev \
|
||||||
gcc clang >/dev/null
|
gcc clang
|
||||||
sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev >/dev/null
|
sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev
|
||||||
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
|
TCC_SHA="027b8fb9b88fe137447fb8bb1b61079be9702472"
|
||||||
wget --quiet "https://github.com/TinyCC/tinycc/archive/${TCC_SHA}.tar.gz" && tar xzf "${TCC_SHA}.tar.gz"
|
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; ) >/dev/null
|
( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; )
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
# vanilla flags
|
# vanilla flags
|
||||||
CFLAGS="-std=c99 -Wall -pedantic"
|
CFLAGS="-std=c99 -Wall -pedantic"
|
||||||
# extra flags
|
# extra flags
|
||||||
|
Loading…
Reference in New Issue
Block a user