aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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