Skip to content

Commit

Permalink
Trying crazy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 11, 2024
1 parent 8d7fb35 commit bf3325c
Showing 1 changed file with 33 additions and 26 deletions.
59 changes: 33 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,41 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install wrench-daemon
run: |
pip install jsonref
apt-get update
apt-get -y install gcc
apt-get -y install libasio-dev
apt-get -y install libboost-all-dev
wget https://github.com/nlohmann/json/archive/refs/tags/v3.10.5.tar.gz
tar -xf v3.10.5.tar.gz
cd json-3.10.5
cmake .
make -j4
sudo make install
cd ..
wget --no-check-certificate https://framagit.org/simgrid/simgrid/-/archive/v3.36/simgrid-v3.36.tar.gz
tar -xf simgrid-v3.36.tar.gz
cd simgrid-v3.36
cmake .
make -j4
sudo make install
cd ..
git clone https://github.com/wrench-project/wrench.git
cd wrench
cmake .
make -j4 wrench-daemon
sudo make install
cd ..
#pip install jsonref
#apt-get update
#apt-get -y install gcc
#apt-get -y install libasio-dev
#apt-get -y install libboost-all-dev
#wget https://github.com/nlohmann/json/archive/refs/tags/v3.10.5.tar.gz
#tar -xf v3.10.5.tar.gz
#cd json-3.10.5
#cmake .
#make -j4
#sudo make install
#cd ..
#wget --no-check-certificate https://framagit.org/simgrid/simgrid/-/archive/v3.36/simgrid-v3.36.tar.gz
#tar -xf simgrid-v3.36.tar.gz
#cd simgrid-v3.36
#cmake .
#make -j4
#sudo make install
#cd ..
#git clone https://github.com/wrench-project/wrench.git
#cd wrench
#cmake .
#make -j4 wrench-daemon
#sudo make install
#cd ..
sudo apt-get update
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
docker pull wrenchproject/wrench:unstable
- name: Start wrench-daemon
run: |
wrench-daemon &
#wrench-daemon &
docker run -p 8101:8101 wrenchproject/wrench:unstable wrench-daemon &
echo "PID=$!" >> $GITHUB_ENV
- name: Run all tests
run: |
Expand Down

0 comments on commit bf3325c

Please # to comment.