From 0ef44a2208f7b902ce3fde586837c675362e2e7e Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Mon, 6 Mar 2023 13:37:42 +0800 Subject: [PATCH] Fork origin xml-c repository Remove CI stuff. --- .github/workflows/ci.yaml | 24 ------------------------ .mc/rebuild.sh | 21 --------------------- .mc/ubuntu:22.04.yaml | 8 -------- 3 files changed, 53 deletions(-) delete mode 100644 .github/workflows/ci.yaml delete mode 100755 .mc/rebuild.sh delete mode 100644 .mc/ubuntu:22.04.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 708089d..0000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: CI - -# Controls when the action will run. Triggers the workflow on push or pull -# request events but only for the main branch -on: - push: - branches: - - master - pull_request: - branches: [ master ] - schedule: - - cron: '0 0 15 * *' - - -jobs: - ci: - runs-on: ubuntu-20.04 - - steps: - - uses: actions/checkout@v2 - - - name: Build and Test - run: npx --package mini-cross@0.15.2 mc --no-tty ubuntu:22.04 .mc/rebuild.sh - diff --git a/.mc/rebuild.sh b/.mc/rebuild.sh deleted file mode 100755 index 67443c3..0000000 --- a/.mc/rebuild.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -set -e - - -# @see https://stackoverflow.com/a/1482133 -DIRECTORY_OF_SCRIPT=`dirname "$(readlink -f "$0")"` - -SOURCE_DIRECTORY="${DIRECTORY_OF_SCRIPT}/.." -BUILD_DIRECTORY="${DIRECTORY_OF_SCRIPT}/../build" - - -if [ -d "${BUILD_DIRECTORY}" ]; then - rm -rf "${BUILD_DIRECTORY}" -fi -mkdir "${BUILD_DIRECTORY}" - -(cd "${BUILD_DIRECTORY}" && cmake -DCMAKE_BUILD_TYPE=Release ..) -make --directory "${BUILD_DIRECTORY}" --silent -make --directory "${BUILD_DIRECTORY}" --silent test - diff --git a/.mc/ubuntu:22.04.yaml b/.mc/ubuntu:22.04.yaml deleted file mode 100644 index 762305c..0000000 --- a/.mc/ubuntu:22.04.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -base: ubuntu:22.04 -install: - - cmake - - g++ - - gcc - - valgrind ----