makefile #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
sudo apt-get install dos2unix -y | |
sudo apt-get install make -y | |
sudo dos2unix makefile | |
sudo chmod +x makefile | |
sudo apt-get install coreutils -y | |
sudo apt-get install default-jre -y | |
sudo apt-get install default-jdk -y | |
- name: make | |
run: | | |
make | |
- name: Short test | |
run: | | |
java -jar JavaCrypt.jar | |
java -jar JavaCrypt.jar -genkeys | |
- name: Clean Up | |
run: | | |
rm -rf *.key | |
git clean -fX |