Browse Source

Fork origin xml-c repository

Remove CI stuff.
master
TheoryOfNekomata 1 year ago
parent
commit
0ef44a2208
3 changed files with 0 additions and 53 deletions
  1. +0
    -24
      .github/workflows/ci.yaml
  2. +0
    -21
      .mc/rebuild.sh
  3. +0
    -8
      .mc/ubuntu:22.04.yaml

+ 0
- 24
.github/workflows/ci.yaml View File

@@ -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


+ 0
- 21
.mc/rebuild.sh View File

@@ -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


+ 0
- 8
.mc/ubuntu:22.04.yaml View File

@@ -1,8 +0,0 @@
---
base: ubuntu:22.04
install:
- cmake
- g++
- gcc
- valgrind
---

Loading…
Cancel
Save