diff --git a/.github/workflows/check-pkg.yml b/.github/workflows/check-pkg.yml new file mode 100644 index 0000000..e2baba7 --- /dev/null +++ b/.github/workflows/check-pkg.yml @@ -0,0 +1,29 @@ +name: OUR .ecmp file check CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + +jobs: + build: + + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Install libcurl + run: sudo apt-get install libcurl4-gnutls-dev -y + + - name: configure libspm + run: | + git clone https://github.com/Soviet-Linux/libspm --recurse-submodules + make -C libspm all + make -C libspm test + sudo make -C libspm install + - name: Try .ecmp files + run: | + find -name "*.ecmp" -exec sh -c './libspm/bin/package-test "$1" || exit 255' _ {} \; diff --git a/.github/workflows/ourcustomci.yml b/.github/workflows/ourcustomci.yml deleted file mode 100644 index 5455669..0000000 --- a/.github/workflows/ourcustomci.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: OUR .ecmp file check CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - - -jobs: - build: - - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Install libcurl - run: sudo apt-get install libcurl4-gnutls-dev -y - - name: configure libspm - run: git clone https://github.com/Soviet-Linux/libspm && cd libspm && make all && make formats && make test && sudo make install - - name: Try .ecmp files - run: ./bin/spm-test install ../testing/src/*.ecmp && ./bin/spm-test install ../lxde/src/*.ecmp && ./bin/spm-test install ../xorg/src/*.ecmp && ./bin/spm-test install ../xfce/src/*.ecmp && ./bin/spm-test install ../kde/src/*.ecmp && ./bin/spm-test install ../base/src/*.ecmp \ No newline at end of file