Skip to content

Commit

Permalink
Upgrade CI related github action files
Browse files Browse the repository at this point in the history
[docker_verify]
  • Loading branch information
sumeetchhetri committed Apr 20, 2024
1 parent bda23d2 commit 6609e94
Show file tree
Hide file tree
Showing 35 changed files with 42 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-almalinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on almalinux
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on alpine
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on archlinux
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with bazel
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-buck2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with buck2
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cross-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
#- name: Cross compile ffead-cpp for android/ubuntu
# run: |
# sudo su
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cross-mingw-w64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cross compile ffead-cpp for mingw-w64
run: |
cd docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cross-musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cross compile ffead-cpp for musl
run: |
cd docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dockcross-uclibc-wrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cross compile ffead-cpp for arm uclibc openwrt
run: |
cd docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-base-debug-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_debug_push]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-base-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_deps_push]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-base-push.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_push]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-base-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_push]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp image
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[docker_seastar_push]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build docker image for ffead-cpp with seastar backend
run: |
cd docker/techempower-config-deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_profiled_push]') && github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp-7.0-sql-raw-async-profiled-base image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-profiled-base-push.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[docker_profiled_push]') && github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build base ffead-cpp-7.0-sql-raw-profiled-base image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build docker image with wrk tests for ffead-cpp
run: |
cd docker/test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-tfb-all-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[docker_verify]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Verify tfb
run: |
git clone https://github.com/TechEmpower/FrameworkBenchmarks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-tfb-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[docker_bench]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and benchmark the ffead-cpp-7.0 base docker image
run: |
git clone https://github.com/TechEmpower/FrameworkBenchmarks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-tfb-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[docker_verify]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Verify tfb
run: |
git clone https://github.com/TechEmpower/FrameworkBenchmarks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-emscripten-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on emscripten and nodejs backend
run: |
cd lang-server-backends/javascript/emscripten
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-gentoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on gentoo
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
os: [macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: |
#brew unlink bazel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with meson
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[build_only_nodejs]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with nodejs backend
run: |
cd lang-server-backends/javascript/nodejs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp on opensuse
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-scons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with scons
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-shellb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with shellb
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -yqq && sudo apt install --no-install-recommends -yqq ninja-build libpq-dev libcurl4-openssl-dev autoconf-archive unzip uuid-dev odbc-postgresql unixodbc unixodbc-dev apache2 apache2-dev libapr1-dev libaprutil1-dev memcached libmemcached-dev redis-server libssl-dev zlib1g-dev cmake make clang-format ninja-build libjsoncpp-dev libboost-all-dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-win-cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
os: [windows-2019]
vs: [2019]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install cygwin
run: |
choco install -y cygwin
choco install -y cyg-get
cyg-get procps gcc gcc-g++ autmake libonig-devel patch bzip2 perl tar xz autoconf automake m4 libtool make zlib-devel zlib cmake git libpq-devel curl libcurl-devel libuuid-devel gdb libssl-devel wget dos2unix unzip
cyg-get procps gcc gcc-g++ autmake patch bzip2 perl tar xz autoconf automake m4 libtool make zlib-devel zlib cmake git libpq-devel curl libcurl-devel libuuid-devel gdb libssl-devel wget dos2unix unzip
- name: Set ENV
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-win-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [windows-2019]
vs: [2019]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set ENV
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-xmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip_build]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build ffead-cpp with xmake
run: |
cd docker/os-based
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Examples (as per feedback from HN)
- REST API example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/te-benchmark/include/TeBkRestController.h
- Template example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/markers/tpe/mark.tpe & https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/DefTemp.cpp
- Websocket example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/DefaultWebSocketHandler.cpp
- Wefilter example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/DefaultIOFilter.cpp
- Webfilter example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/DefaultIOFilter.cpp
- Webcontroller example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/DefaultController.cpp
- Dynamic C++ page example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/dcp/test.dcp
- Action based view example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/fviews/test.html & https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/default/src/TestFormController.cpp
Expand Down
7 changes: 7 additions & 0 deletions docker/install_cygwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ cd hiredis-0.13.3/ && rm -f net.c && wget https://raw.githubusercontent.com/sume
cd /tmp
rm -rf hiredis-0.13.3

wget https://github.com/kkos/oniguruma/releases/download/v6.9.9/onig-6.9.9.tar.gz
tar zxf onig-6.9.9.tar.gz
rm -f onig-6.9.9.tar.gz
cd onig-6.9.9 && ./configure --enable-posix-api=yes --prefix=/usr && make && make install
cd /tmp
rm -rf onig-6.9.9

wget -q https://github.com/sumeetchhetri/ffead-cpp/archive/master.zip
unzip -qq master.zip
mv ffead-cpp-master ffead-cpp-src
Expand Down

0 comments on commit 6609e94

Please sign in to comment.